﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class D02_ToggleEffect : MonoBehaviour
{
    public GameObject target;//被控制的目标物体

    private void OnMouseDown()
    {
        target.SetActive(!target.activeSelf);
    }
}